package com.pmh.hrs.sys.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.pmh.hrs.dao.mybatis.HrsAbstractDAO;
import com.pmh.hrs.sys.vo.SysRoleGroupVO;

@Repository
public class SysRoleGroupDAO extends HrsAbstractDAO{
	public int insert(SysRoleGroupVO sysRoleGroupVO) throws Exception{
		return this.getSqlSession().insert("SysRoleGroup.insert",sysRoleGroupVO);
	}
	
	public int update(SysRoleGroupVO sysRoleGroupVO) throws Exception{
		return this.getSqlSession().update("SysRoleGroup.update",sysRoleGroupVO);	
	}
	
	public int delete(Map<String,Object> paramMap) throws Exception{
		return this.getSqlSession().delete("SysRoleGroup.delete",paramMap);	
	}
	
	public List<Map<String,Object>> selectList(Map<String,Object> paramMap) throws Exception{
		return this.getSqlSession().selectList("SysRoleGroup.selectList",paramMap);
	}
}
